package com.android.powerbankpad.network.retrofit;


public class RetrofitConfig {

//    public static final String BASE_URL = "http://api.douban.com/v2/movie/" ;


    public static final int DEFAULT_CACHE_SIZE = 250 * 1024 * 1024;
    /*超时时间-默认10秒*/
    public static final int DEFAULT_CONNECT_TIMEOUT = 60;
    public static final int DEFAULT_READ_TIMEOUT = 60;
    public static final int DEFAULT_WRITE_TIMEOUT = 60;
    /*有网情况下的本地缓存时间默认30秒*/
    public static final int DEFAULT_COOKIE_NETWORK_TIME = 30;
    /*无网络的情况下本地缓存时间默认30天*/
    public static final int DEFAULT_COOKIE_NO_NETWORK_TIME = 24 * 60 * 60 * 30;

    /*请求失败重连次数*/
    public static final int RETRY_TIMES = 3;
}
